package org.vestbjergbyggecenter.Model;

public class Person {
		private int id;
		private String name;
		private long cpr;
		private String address;
		private long postalCode; 
		private String city;
		private String phone;

		public Person(int id, String name, long cPR, String address,
				long postalCode, String city, String phone) {
			super();
			this.id = id;
			this.name = name;
			this.cpr = cPR;
			this.address = address;
			this.postalCode = postalCode;
			this.city = city;
			this.phone = phone;
		}

		public int getId() {
			return id;
		}

		public void setId(int id) {
			this.id = id;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public long getCPR() {
			return cpr;
		}

		public void setCPR(long cPR) {
			cpr = cPR;
		}

		public String getAddress() {
			return address;
		}

		public void setAddress(String address) {
			this.address = address;
		}

		public long getPostalCode() {
			return postalCode;
		}

		public void setPostalCode(long postalCode) {
			this.postalCode = postalCode;
		}

		public String getCity() {
			return city;
		}

		public void setCity(String city) {
			this.city = city;
		}

		public String getPhone() {
			return phone;
		}

		public void setPhone(String phone) {
			this.phone = phone;
		}
		
		public void println()
		{
			System.out.println("ID: "+id);
			System.out.println("Name: "+ name);
			System.out.println("CPR: "+cpr);
			System.out.println("Address" + address);
			System.out.println("PostalCode" + postalCode);
			System.out.println("City"+ city);
			System.out.println("Phone" + phone); 
		}

}
